The QuickTime for Java API supports all fully compliant Virtual Machines (VMs). On the Macintosh, it supports Apple's Macintosh Run-time for Java (MRJ) 2.1 or later; under Windows, JDK 1.1 or later. The Java VM used must be fully compliant with at least the JDK 1.1 specification and implementation from Sun Microsystems.
QuickTime for Java can also run in an applet, provided that the browser or applet viewer has one of the supported Java VM's chosen. Currently this requires the use of the Java Plug-in on Windows for Netscape Navigator and Internet Explorer browsers because those browsers do not provide a fully compliant Java 1.1 VM. On the Macintosh, you can use the Internet Explorer version 4 browser with an applet tag if MRJ 2.1 is chosen as your default VM. For Netscape Navigator version 4 on the Macintosh, QuickTime for Java applets must be viewed using the MRJ Plug-in.
This requires the HTML page to have different tags (OBJECT, EMBED or APPLET, for instance), depending on the browser. In the Software Development Kit (SDK), available for download from Apple's QuickTime for Java website ( http://www.apple.com/quicktime/qtjava ), is a JavaScript script ( AppletTag.JS ) is provided that inserts the appropriate tag when the page is viewed.
| Previous | Chapter Top | Chapter Contents | Next |